package com.lock.immersive.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lock.immersive.pojo.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
* @author zhao
* @description 针对表【user】的数据库操作Mapper
* @createDate 2023-07-02 00:04:03
* @Entity .domain.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("select user_id from user where user_phone = #{args0}")
    String selectPhone(String phone);
    @Select("select user_id from user where user_account = #{args0}")
    String selectAccount(String userAccount);
}




